import {
  post
} from "../../http.js";
let api = process.env.VUE_APP_API;
if (process.env.VUE_APP_Mock == "true") {
  api = "/mock/";
}

/**
 * 按需引入
 */

// 1.获取任务列表
export const saveCertificate = async (p) =>
  await post(api + "/witness/weeon/buss/certificate/saveCertificate", p);
//  查询见证完毕标段
export const findCertificateBdPage = async (p) =>
  await post(api + "/witness/weeon/buss/certificate/findCertificateBdPage", p);
//列表
export const findCertificatePage = async (p) =>
  await post(api + "/witness/weeon/buss/certificate/findCertificatePage", p);
//出证列表
export const findCzCertificatePage = async (p) =>
  await post(api + "/witness/weeon/buss/certificate/findCzCertificatePage", p);
